<template>
	<view>
		<!-- <view class="account-box">
			<view class="fx-center-between account-item" @click="toRealName">
				<view class="">实名认证</view>
				<van-icon name="arrow" color="#8A8F99" />
			</view>
			<view class="fx-center-between account-item" @click="toEditPass">
				<view class="">修改登录密码</view>
				<van-icon name="arrow" color="#8A8F99" />
			</view>
		</view> -->
		<view class="fx-center-between account-item account-box" @click="toLogoff">
			<view class="">注销账号</view>
			<view class="fx-center">
				<view class="desc-text">注销后无法恢复，请谨慎操作</view>
				<van-icon name="arrow" color="#8A8F99" />
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			// 实名认证
			toRealName() {
				uni.navigateTo({
					url: '/pages/mine/realName/realName'
				})
			},
			// 修改登录密码
			toEditPass() {
				uni.navigateTo({
					url: '/pages/mine/setup/editPassword/editPassword'
				})
			},
			// 注销账号
			toLogoff() {
				uni.navigateTo({
					url: '/pages/mine/setup/logoff/logoff'
				})
			}
		}
	}
</script>

<style lang="scss">
	.account-box {
		border-radius: 4rpx 4rpx 4rpx 4rpx;
		background: #FFFFFF;
		margin-top: 16rpx;
	}

	.account-item {
		padding: 34rpx 32rpx;
		font-size: 30rpx;
		color: #161616;

		.desc-text {
			color: #8A8F99;
			margin-right: 10rpx;
		}
	}
</style>